package com.spring;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author Jim
 * @version 1.0.0
 * @descripition:
 * @date 2022/11/3 0:39
 */
public class Test {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext context
				= new AnnotationConfigApplicationContext();
		context.register(Student.class);
		context.refresh();
		System.out.println(context.getBean(Student.class));
	}
}
